#ifndef _EXPORT_GUI_H
#define _EXPORT_GUI_H
#include <vector>

#define VALUE_PARAM_MAX 10

struct Value_Param
{
	int value[VALUE_PARAM_MAX];
};
class ExportGui
{

public:
	static ExportGui* instant;
	static ExportGui* getInstant();

	int isGuiSuccess ( char* guiName );

	void buildBegin( char* guiName );

	void buildEnd();

	void buildTemplateID ( char* gtsFile );

	void buildGuiLevelID ( char* guiName );

	int getElementMax ( char* guiName );

	void buildLevelClass ( char* gtsFile, char* levelName );

	int getElementLevel ( char* gtsFile, char* levelName ); //return maximum of level	

	void buildAllLevelClass ( char* guiName );

	std::vector< Value_Param > getValueLevel ( char* gtsFile, char* levelName ); //get all element in level

	void buildAllLevel ( char* guiName );

	void buildArrayElementMax ( char* guiName );

	void exportGuiDefine( char* guiName );
};
#endif